Skip to main content

PDF Template

PdfTemplate

Generates PDF from AsciiDoc files from Apache Freemarker templates.

Configuration

Example

PdfTemplate:
options:
templateIds: null
templatePaths: null
pdfThemeFile: "uri:classloader:/pdf-theme/pdf-theme.yml"
pdfFontsDir: "uri:classloader:/fonts"

Options

templateIds

STRING_LIST

A comma-separated list of IDs of templates provided by ORT. If no template id or path is provided, the "disclosure_document" template is used, and if the ORT result contains an advisor run, the "vulnerability_report" and "defect_report" templates are used as well.

templatePaths

STRING_LIST

A comma-separated list of paths to template files provided by the user.

pdfThemeFile

STRING Default

The path to an AsciiDoc PDF theme file.

pdfFontsDir

STRING Default

The path to a directory containing custom fonts.